#include "AbstractFactory.h"
#include "AbstractProduct.h"

AbstractProductA* FactoryA::CreateProductA()
{
	return new ProductA();
}

AbstractProductB* FactoryA::CreateProductB()
{
	return new ProductB;
}

AbstractProductA* FactoryB::CreateProductA()
{
	return new ProductA2;
}

AbstractProductB* FactoryB::CreateProductB()
{
	return new ProductB2;
}